package com.yxym.exception_;

public class Exception03 {
    public static void main(String[] args) {
        int [] arr = {1,5,6,8};
        for (int i = 0; i <= arr.length; i++) {
            //ArrayIndexOutOfBoundsException数组下标越界异常
            System.out.println(arr[i]);

        }
    }
}
